package edu.zqu.collegeField.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.zqu.collegeField.project.po.FieldApplicationStatus;
import edu.zqu.collegeField.project.vo.FieldApplicationStatusVo;

import java.math.BigInteger;
import java.util.List;

/**
 * <p>
 * 场地申请用途字典 服务类
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
public interface FieldApplicationStatusService extends IService<FieldApplicationStatus> {
    List<FieldApplicationStatusVo> get(BigInteger collegeId,//获取场地申请用途列表
                                       String name,
                                       String englishName);
    FieldApplicationStatusVo getById(BigInteger id);//获取场地申请用途

    int add(FieldApplicationStatus fieldApplicationStatus);//添加场地申请用途

    int update(FieldApplicationStatus fieldApplicationStatusUpdate);//修改场地申请用途

    int delete(Integer id, BigInteger byWho);//删除场地申请用途
}
